package com.buu.system.dao;

import com.buu.system.domain.SysUserDO;
import org.apache.ibatis.annotations.*;

import java.util.List;
import java.util.Map;

@Mapper
public interface UserDao {

    SysUserDO get(Long id);

    List<SysUserDO> list(Map<String, Object> param);

    int count(Map<String, Object> map);

    int save(SysUserDO obj);

    int update(SysUserDO obj);

    int remove(Long user_id);

    int batchRemove(List<Long> list);

    SysUserDO getUserByName(String username);

    int resetPasswd(Map<String, Object> param);

}
